home *** CD-ROM | disk | FTP | other *** search
- class CPhitPresentation extends CMovieClipFresh
- {
- var _soundSystem;
- function CPhitPresentation()
- {
- super();
- _root._strVer = "1.1.0";
- FreshFramework._isRunningLocally = false;
- FreshFramework._isRunningLocalRemoteDebug = false;
- _global._dbgTraceEnabled = false;
- _global._dbgAssertEnabled = false;
- _root.random = new CRandom(2);
- this._soundSystem = new CFreshSoundSystem(this);
- this._soundSystem.SetSpatialPanParameters(240,480);
- this.gotoAndStop("intro");
- }
- function FirstFrameInitialize()
- {
- FreshDebug.Trace("ver. " + _root._strVer);
- }
- function GetLastPlayedLevel()
- {
- var _loc1_ = SharedObject.getLocal("phit");
- return _loc1_.data._iLevelLastPlayed;
- }
- function StoreLastPlayedLevel(iLevel)
- {
- var _loc1_ = SharedObject.getLocal("phit");
- _loc1_.data._iLevelLastPlayed = iLevel;
- _loc1_.flush();
- }
- }
-